import tensorflow as tf
import numpy as np
tf.compat.v1.enable_eager_execution()

x = tf.constant(4)
print(x.numpy())# 用numpy将格式转换为正常实数

zero_t = tf.zeros([2,3,3],tf.int32)
print(zero_t.numpy())# 用numpy将格式转换为正常实数
